package com.ctg.behavior.common.retentions;

import java.util.ArrayList;
import java.util.List;

import com.ctg.behavior.common.calc.CtCalcFilter;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = false)
@Data
public class CtRetentionsSliceBody extends CtRetentionsCalcBody {

	//
	private String sliceInterval;
	// 格式： YYYY-MM-DD
	private String sliceDate;
	//
	private List<String> sliceByValues = new ArrayList<>();
	// 
	private Sli sli = new Sli();
	
	@Data
	public static class Sli {
		private List<String> id = new ArrayList<>();
		private List<String> value = new ArrayList<>();
	}

	//TEMP
	private CtCalcFilter userFilter = new CtCalcFilter();
}
